.layui-nav-img {
    margin-right: 0px;
}

.layui-header .layui-logo cite {
    font-style: inherit;
}

/* body .layui-layer .layui-layer-title {
    background-color: #20222A !important;
    color: #FFF;
} */

#message {
    width: calc(100% - 40px);
    margin-left: 8px;
    background: #171C26;
    border-radius: 10px;
    padding: 1rem;
    color: white;
    position: absolute;
    bottom: 16px;
}

#message h3 {
    position: relative;
    top: -18px;
    font-size: 0.9rem;
    margin: 0 0 0.4rem 0;
    font-weight: 400;
    left: 30px;
}

#message p {
    transform: translateY(-10px);
    color: #717783;
}

.notification-box {
    position: relative;
    z-index: 99;
    width: 20px;
    height: 20px;
    text-align: center;
}

.notification-box:hover {
    cursor:pointer;
}

.notification-bell {
    animation: bell 1s 1s both infinite;
}

.notification-bell * {
    display: block;
    margin: 0 auto;
    background-color: #fff;
    box-shadow: 0px 0px 15px #fff;
}

.bell-top {
    width: 3px;
    height: 3px;
    border-radius: 3px 3px 0 0;
}

.bell-middle {
    width: 15px;
    height: 15px;
    margin-top: -1px;
    border-radius: 12.5px 12.5px 0 0;
}

.bell-bottom {
    position: relative;
    z-index: 0;
    width: 22px;
    height: 2px;
}

.bell-bottom::before,
.bell-bottom::after {
    content: '';
    position: absolute;
    top: -4px;
}

.bell-bottom::before {
    left: 1px;
    border-bottom: 4px solid #fff;
    border-right: 0 solid transparent;
    border-left: 4px solid transparent;
}

.bell-bottom::after {
    right: 1px;
    border-bottom: 4px solid #fff;
    border-right: 4px solid transparent;
    border-left: 0 solid transparent;
}

.bell-rad {
    width: 4px;
    height: 2px;
    margin-top: 1px;
    border-radius: 0 0 4px 4px;
    animation: rad 1s 2s both infinite;
}

.notification-none {
    position: absolute;
    z-index: 1;
    top: 15px;
    right: -5px;
    width: 8px;
    height: 8x;
    background-color: #36B368;
}

.notification-count {
    position: absolute;
    z-index: 1;
    top: 15px;
    right: -5px;
    width: 20px;
    height: 15px;
    line-height: 15px;
    font-size: 12px;
    border-radius: 50%;
    background-color: #ff4927;
    color: #fff;
    animation: zoom 3s 3s both infinite;
    text-align: center;
}

@keyframes bell {
    0% {
        transform: rotate(0);
    }
    10% {
        transform: rotate(30deg);
    }
    20% {
        transform: rotate(0);
    }
    80% {
        transform: rotate(0);
    }
    90% {
        transform: rotate(-30deg);
    }
    100% {
        transform: rotate(0);
    }
}

@keyframes rad {
    0% {
        transform: translateX(0);
    }
    10% {
        transform: translateX(6px);
    }
    20% {
        transform: translateX(0);
    }
    80% {
        transform: translateX(0);
    }
    90% {
        transform: translateX(-6px);
    }
    100% {
        transform: translateX(0);
    }
}

@keyframes zoom {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    10% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 1;
    }
    51% {
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}